home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / ELECTRON / DATA / 3316.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-02-01  |  3KB  |  93 lines

  1. echo off
  2. cls
  3. if not %2x==x goto START
  4. goto BEGIN
  5. :BEGIN
  6. echo.
  7. echo.
  8. echo.
  9. echo      ╔═╡ Installing the Motorola Data Disk ╞═══════════════════════════╗
  10. echo      ║                                                                 ║
  11. echo      ║ To install the Data Disk to drive C, in a subdirectory called   ║
  12. echo      ║ "MOTO", type "INSTALL C MOTO" at the prompt, then press Enter.  ║
  13. echo      ║                                                                 ║
  14. echo      ║ To install the Data Disk to drive D, in a subdirectory called   ║
  15. echo      ║ "MOTOROLA", type "INSTALL D MOTOROLA" then press Enter.         ║
  16. echo      ║                                                                 ║
  17. echo      ║ To install the Motorola Data Disk to another drive and/or sub-  ║
  18. echo      ║ directory, use the syntax: "INSTALL drivename subdirectory".    ║
  19. echo      ║                                                                 ║
  20. echo      ║ Please type your command line at the prompt now . . .           ║
  21. echo      ║                                                                 ║
  22. echo      ╚═════════════════════════════════════════════════════════════════╝
  23. fill 3,5,67,14,1,e
  24. fill 3,8,35,1,1,f
  25. echo.
  26. echo.
  27. goto FINISH
  28. :START
  29. echo.
  30. echo.
  31. echo.
  32. echo         The Motorola Data Disk will be installed to: %1:\%2
  33. fill 3,52,15,1,0,F
  34. echo.
  35. echo.
  36. echo      ╔═╡ Select an Option ╞═══════════════════════════════════╗
  37. echo      ║                                                        ║
  38. echo      ║  A. Install the software to the path specified above.  ║
  39. echo      ║                                                        ║
  40. echo      ║  B. Oops!  Let me change the path specified above.     ║
  41. echo      ║                                                        ║
  42. echo      ╚════════════════════════════════════════════════════════╝
  43. fill 6,5,58,7,1,e
  44. fill 6,8,18,1,1,f
  45. echo.
  46. echo                    Please select A or B now.
  47. echo.
  48. keypress AB
  49. if errorlevel 2 goto OOPS
  50. if errorlevel 1 goto DOIT
  51. echo      Sorry, that was an invalid selection, please try again.
  52. wait 2
  53. cls
  54. goto START
  55. echo
  56. :OOPS
  57. fill 10,7,54,1,0,f
  58. wait 3
  59. cls
  60. goto BEGIN
  61. :DOIT
  62. fill 8,7,54,1,0,f
  63. wait 2
  64. cls
  65. echo.
  66. echo.
  67. echo      INSTALL will now create the specified subdirectory, then copy
  68. echo      and uncompress the information it needs to your hard drive. . .
  69. echo.
  70. echo.
  71. motorola %1:\%2 /w /p
  72. echo.
  73. echo      The installation is now complete . . .
  74. wait 2
  75. cls
  76. echo.
  77. echo.
  78. echo    ╔════════════════════════════════════════════════════════════════╗
  79. echo    ║                                                                ║
  80. echo    ║ To start the program, make sure you are logged onto the sub-   ║
  81. echo    ║ directory you created, type "M" (for "Motorola"), then press   ║
  82. echo    ║ the Enter key (─┘).                                           ║
  83. echo    ║                                                                ║
  84. echo    ║ If you have difficulty with this installation or any other as- ║
  85. echo    ║ pect of this product, please call CyberSoft at (602)759-4849.  ║
  86. echo    ║                                                                ║
  87. echo    ╚════════════════════════════════════════════════════════════════╝
  88. echo.
  89. fill 2,3,66,10,1,e
  90. %1:
  91. cd \%2
  92. :FINISH
  93.